package com.xqboss.apps.enums.synthesis;

import com.xqboss.common.enums.BaseEnum;

/**
 * 合成活动白名单类型
 * @author Trent
 * @date 2023/8/17
 */
public enum SynthesisWhiteTypeEnum implements BaseEnum<Integer> {
    ACTIVITY_LIMIT(1, "活动限制"),
    HOLD_LIMIT(2, "持图购限制"),
    WHITE_LIMIT(3, "手动添加白名单"),
    ;

    private final String msg;
    private final Integer value;

    SynthesisWhiteTypeEnum(Integer value, String desc) {
        this.value = value;
        this.msg = desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
